package com.bw.req;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class OrderItem {

    //序号
    private Integer no;
    //图号
    private String code;
    //零件名称
    private String name;
    //材料
    private String materialname;
    //表面处理
    private String bcnames;
    //数量
    private Integer total;
    //工时
    private Double workhour;
    //材料费
    private BigDecimal materialcost;
    //加工费
    private BigDecimal workcost;
    //热处理费
    private BigDecimal heatcost;
    //表面处理费
    private BigDecimal surfacecost;
    //含税单价
    private BigDecimal productprice;
    //总价
    private BigDecimal totalprice;

    public void setProductprice(BigDecimal productprice) {
        this.productprice = productprice;
    }

    public Integer getNo() {
        return no;
    }

    public void setNo(Integer no) {
        this.no = no;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMaterialname() {
        return materialname;
    }

    public void setMaterialname(String materialname) {
        this.materialname = materialname;
    }

    public String getBcnames() {
        return bcnames;
    }

    public void setBcnames(String bcnames) {
        this.bcnames = bcnames;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Double getWorkhour() {
        return workhour;
    }

    public void setWorkhour(Double workhour) {
        this.workhour = workhour;
    }

    public BigDecimal getMaterialcost() {
        return materialcost;
    }

    public void setMaterialcost(BigDecimal materialcost) {
        this.materialcost = materialcost;
    }

    public BigDecimal getWorkcost() {
        return workcost;
    }

    public void setWorkcost(BigDecimal workcost) {
        this.workcost = workcost;
    }

    public BigDecimal getHeatcost() {
        return heatcost;
    }

    public void setHeatcost(BigDecimal heatcost) {
        this.heatcost = heatcost;
    }

    public BigDecimal getSurfacecost() {
        return surfacecost;
    }

    public void setSurfacecost(BigDecimal surfacecost) {
        this.surfacecost = surfacecost;
    }

    public BigDecimal getProductprice() {
        return productprice;
    }

    public BigDecimal getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }

}

